package a.j;

import java.awt.*;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;

public final class xe
{
  public static float[] a = new float[2];
  public static float[] b = new float[6];
  public static double[] c = new double[2];
  public static Point2D d = new Point2D.Double();
  public static AffineTransform e = new AffineTransform();
  public static final double f = 1.0E-006D;
  private static final RenderingHints.Key g = new a_();
  private static final xe.a_.b_[] h = new xe.a_.b_[16];
  public static int i;
  
  public static void a(Graphics2D paramGraphics2D)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    xe.a_.b_ localb_ = (xe.a_.b_)paramGraphics2D.getRenderingHint(g);
    if (!bool2) {
      if (localb_ == null)
      {
        localb_ = h[9];
        paramGraphics2D.setRenderingHint(g, localb_);
        if (bool2) {
          break label109;
        }
        if (!bool1) {
          break label105;
        }
      }
    }
    if (!bool2) {
      if (localb_.a < 7)
      {
        if (bool2) {
          break label96;
        }
        localb_ = h[(localb_.a + 9)];
        if (!bool1) {
          break label97;
        }
      }
    }
    label96:
    localb_ = new xe.a_.b_(localb_.a + 1);
    label97:
    paramGraphics2D.setRenderingHint(g, localb_);
    label105:
    if (localb_.a > 0)
    {
      label109:
      paramGraphics2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
      paramGraphics2D.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
    }
  }
  
  public static void b(Graphics2D paramGraphics2D)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    xe.a_.b_ localb_ = (xe.a_.b_)paramGraphics2D.getRenderingHint(g);
    if (!bool2) {
      if (localb_ == null)
      {
        localb_ = h[7];
        paramGraphics2D.setRenderingHint(g, localb_);
        if (bool2) {
          break label109;
        }
        if (!bool1) {
          break label105;
        }
      }
    }
    if (!bool2) {
      if (localb_.a > -7)
      {
        if (bool2) {
          break label96;
        }
        localb_ = h[(localb_.a + 7)];
        if (!bool1) {
          break label97;
        }
      }
    }
    label96:
    localb_ = new xe.a_.b_(localb_.a - 1);
    label97:
    paramGraphics2D.setRenderingHint(g, localb_);
    label105:
    if (localb_.a <= 0)
    {
      label109:
      paramGraphics2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
      paramGraphics2D.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_OFF);
    }
  }
  
  static
  {
    for (int j = 0; j < h.length; j++) {
      h[j] = new xe.a_.b_(j - 8);
    }
  }
  
  static final class a_
    extends RenderingHints.Key
  {
    a_()
    {
      super();
    }
    
    public final boolean isCompatibleValue(Object paramObject)
    {
      return paramObject instanceof b_;
    }
    
    static final class b_
    {
      final int a;
      
      b_(int paramInt)
      {
        this.a = paramInt;
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.xe

 * JD-Core Version:    0.7.0.1

 */